package com.zqweb.gulimall.product.feign;

import com.zqweb.common.es.SkuESModel;
import com.zqweb.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("guli-mall-es-search")
public interface EsFeignService {
    @PostMapping("/es/save/product")
    R saveESModel(@RequestBody List<SkuESModel> skuESModels);

}
